/**
 * Copyright 2014 the original author or authors. All rights reserved.
 */
package com.visionet.security.service;

import java.util.List;

import com.visionet.jumper.core.domain.bean.Page;
import com.visionet.jumper.core.service.BaseService;
import com.visionet.security.domain.entity.Resource;
import com.visionet.security.domain.dto.UrlizedResource;

/**
 *  资源 service
 *
 * @author suxiaojing
 * @date 
 * @since 0.0.1
 */
public interface SecurityResourceService extends BaseService<Resource, String>{
	
	public List<UrlizedResource> getMenu();

	public Page getMenuForPage(Page page);

	public List<UrlizedResource> getUserMenu(String userId);

	public List<UrlizedResource> getMenu(Integer level);

	public List<UrlizedResource> getMenu(String parentId);

	public List<UrlizedResource> getCurrentUserMenu();

	public List<UrlizedResource> getCurrentUserMenu(Integer level);

	public List<UrlizedResource> getCurrentUserMenu(String parentId);

	public List<UrlizedResource> getUrlizedResource();
	
}
